package com.group.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author 朋心合力
 * @since 2021-08-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProjectOutside implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目编号
     */
    @TableId(value = "projectId", type = IdType.AUTO)
    private Integer projectId;

    /**
     * 项目名称
     */
    @TableField("projectName")
    private String projectName;

    /**
     * 项目简介
     */
    @TableField("projectDescription")
    private String projectDescription;

    /**
     * 项目标签
     */
    @TableField("projectTag")
    private String projectTag;


    private Integer masterId;

    /**
     * 项目创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableLogic
    private Integer status;


}
